import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {WmsPurchaseOrderThreeComponent} from './wms-purchase-order-three.component';

const routes: Routes = [
    {path: '', component: WmsPurchaseOrderThreeComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-wms-purchase-order-three/add-wms-purchase-order-three.module#AddWmsPurchaseOrderThreeModule'},
            {path: 'list', loadChildren: './list-wms-purchase-order-three/list-wms-purchase-order-three.module#ListWmsPurchaseOrderThreeModule'},
            {path: 'modify', loadChildren: './modify-wms-purchase-order-three/modify-wms-purchase-order-three.module#ModifyWmsPurchaseOrderThreeModule'},
            {path: 'report', loadChildren: './report-wms-purchase-order-three/report-wms-purchase-order-three.module#ReportWmsPurchaseOrderThreeModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class WmsPurchaseOrderThreeRoutingModule {
}
